// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import 'jquery'

import { Popup } from 'vux'

Vue.component('popup', Popup)

import fontAwesome from '../static/font-awesome/css/font-awesome.css'
Vue.use(fontAwesome)

import { Tab, TabItem } from 'vux'

Vue.component('tab', Tab)
Vue.component('tab-item', TabItem)
import swipercon from '../static/swiper/css/swiper.min.css'
Vue.use(swipercon)
// import swiperjs from '../static/swiper/css/swiper.min.js'
// Vue.use(swiperjs)

// import {swiper} from 'vux'
// Vue.component('swiper',Swiper)

import { Swiper,SwiperItem } from 'vux'
Vue.component('swiper',Swiper)
Vue.component('swiper-item',SwiperItem)


import VueResource from 'vue-resource'   
Vue.use(VueResource)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
